From: Florian Müllner Date: Wed, 8 Sep 2010 13:35:33 +0000 (+0200) Subject: introspection: Fix use of pango_font_description_from_string() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9780 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=177a136adc7b41daa9ced7fdd3d587909e8a1f20;p=gnome-shell.git introspection: Fix use of pango_font_description_from_string() --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 19059da2a..19b8f19b2 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -782,7 +782,7 @@ LookingGlass.prototype = { let fontName = gconf.get_string('/desktop/gnome/interface/monospace_font_name'); // This is mishandled by the scanner - should by Pango.FontDescription_from_string(fontName); // https://bugzilla.gnome.org/show_bug.cgi?id=595889 - let fontDesc = Pango.Font.description_from_string(fontName); + let fontDesc = Pango.font_description_from_string(fontName); // We ignore everything but size and style; you'd be crazy to set your system-wide // monospace font to be bold/oblique/etc. Could easily be added here. this.actor.style =